﻿Type.registerNamespace('Sys.Extended.UI');

Sys.Extended.UI.Resources = {
    "AlwaysVisible_ElementRequired": "Sys.Extended.UI.AlwaysVisibleControlBehavior must have an element",
    "Animation_CannotNestSequence": "Sys.Extended.UI.Animation.SequenceAnimation cannot be nested inside Sys.Extended.UI.Animation.ParallelAnimation",
    "Animation_ChildrenNotAllowed": "Sys.Extended.UI.Animation.createAnimation cannot add child animations to type \"{0}\" that does not derive from Sys.Extended.UI.Animation.ParentAnimation",
    "Animation_InvalidBaseType": "Sys.Extended.UI.Animation.registerAnimation can only register types that inherit from Sys.Extended.UI.Animation.Animation",
    "Animation_InvalidColor": "Color must be a 7-character hex representation (e.g. #246ACF), not \"{0}\"",
    "Animation_MissingAnimationName": "Sys.Extended.UI.Animation.createAnimation requires an object with an AnimationName property",
    "Animation_NoDynamicPropertyFound": "Sys.Extended.UI.Animation.createAnimation found no property corresponding to \"{0}\" or \"{1}\"",
    "Animation_NoPropertyFound": "Sys.Extended.UI.Animation.createAnimation found no property corresponding to \"{0}\"",
    "Animation_TargetNotFound": "Sys.Extended.UI.Animation.Animation.set_animationTarget requires the ID of a Sys.UI.DomElement or Sys.UI.Control.  No element or control could be found corresponding to \"{0}\"",
    "Animation_UknownAnimationName": "Sys.Extended.UI.Animation.createAnimation could not find an Animation corresponding to the name \"{0}\"",
    "Calendar_Today": "Today: {0}",
    "CascadingDropDown_MethodError": "[Method error {0}]",
    "CascadingDropDown_MethodTimeout": "[Method timeout]",
    "CascadingDropDown_NoParentElement": "Failed to find parent element \"{0}\"",
    "CollapsiblePanel_NoControlID": "Failed to find element \"{0}\"",
    "Common_DateTime_InvalidFormat": "Invalid format",
    "Common_DateTime_InvalidTimeSpan": "\"{0}\" is not a valid TimeSpan format",
    "Common_InvalidBorderWidthUnit": "A unit type of \"{0}\"\u0027 is invalid for parseBorderWidth",
    "Common_InvalidPaddingUnit": "A unit type of \"{0}\" is invalid for parsePadding",
    "Common_UnitHasNoDigits": "No digits",
    "DynamicPopulate_WebServiceError": "Web Service call failed: {0}",
    "DynamicPopulate_WebServiceTimeout": "Web service call timed out",
    "ExtenderBase_CannotSetClientStateField": "clientStateField can only be set before initialization",
    "ExtenderBase_ControlNotRegisteredForCallbacks": "This Control has not been registered for callbacks",
    "ExtenderBase_InvalidClientStateType": "saveClientState must return a value of type String",
    "ExtenderBase_PageNotRegisteredForCallbacks": "This Page has not been registered for callbacks",
    "HTMLEditor_toolbar_button_FixedBackColor_title": "Background color",
    "HTMLEditor_toolbar_button_BackColorClear_title": "Clear background color",
    "HTMLEditor_toolbar_button_Bold_title": "Bold",
    "HTMLEditor_toolbar_button_BulletedList_title": "Bulleted List",
    "HTMLEditor_toolbar_button_Copy_title": "Copy",
    "HTMLEditor_toolbar_button_Cut_title": "Cut",
    "HTMLEditor_toolbar_button_DecreaseIndent_title": "Decrease Indent",
    "HTMLEditor_toolbar_button_FontName_defaultValue": "default",
    "HTMLEditor_toolbar_button_FontSize_defaultValue": "default",
    "HTMLEditor_toolbar_button_DesignMode_title": "Design mode",
    "HTMLEditor_toolbar_button_FontName_label": "Font",
    "HTMLEditor_toolbar_button_FixedForeColor_title": "Foreground color",
    "HTMLEditor_toolbar_button_ForeColorClear_title": "Clear foreground color",
    "HTMLEditor_toolbar_button_HtmlMode_title": "HTML text",
    "HTMLEditor_toolbar_button_IncreaseIndent_title": "Increase Indent",
    "HTMLEditor_toolbar_button_InsertHR_title": "Insert horizontal rule",
    "HTMLEditor_toolbar_button_InsertLink_title": "Insert/Edit URL link",
    "HTMLEditor_toolbar_button_InsertLink_message_EmptyURL": "URL can not be empty",
    "HTMLEditor_toolbar_button_Italic_title": "Italic",
    "HTMLEditor_toolbar_button_JustifyCenter_title": "Justify Center",
    "HTMLEditor_toolbar_button_JustifyFull_title": "Justify",
    "HTMLEditor_toolbar_button_JustifyLeft_title": "Justify Left",
    "HTMLEditor_toolbar_button_JustifyRight_title": "Justify Right",
    "HTMLEditor_toolbar_button_Ltr_title": "Left to right direction",
    "HTMLEditor_toolbar_button_OnPasteFromMSWord": "Pasting from MS Word is switched on. Just now: {0}",
    "HTMLEditor_toolbar_button_OnPastePlainText": "Plain text pasting is switched on. Just now: {0}",
    "HTMLEditor_toolbar_button_OrderedList_title": "Ordered List",
    "HTMLEditor_toolbar_button_Paragraph_title": "Make Paragraph",
    "HTMLEditor_toolbar_button_Paste_title": "Paste",
    "HTMLEditor_toolbar_button_PasteText_title": "Paste Plain Text",
    "HTMLEditor_toolbar_button_PasteWord_title": "Paste from MS Word (with cleanup)",
    "HTMLEditor_toolbar_popup_LinkProperties_button_Cancel": "Cancel",
    "HTMLEditor_toolbar_popup_LinkProperties_button_OK": "OK",
    "HTMLEditor_toolbar_popup_LinkProperties_field_URL": "URL",
    "HTMLEditor_toolbar_popup_LinkProperties_field_Target": "Target",
    "HTMLEditor_toolbar_popup_LinkProperties_field_Target_New": "New window",
    "HTMLEditor_toolbar_popup_LinkProperties_field_Target_Current": "Current window",
    "HTMLEditor_toolbar_popup_LinkProperties_field_Target_Parent": "Parent window",
    "HTMLEditor_toolbar_popup_LinkProperties_field_Target_Top": "Top window",
    "HTMLEditor_toolbar_button_PreviewMode_title": "Preview",
    "HTMLEditor_toolbar_button_Redo_title": "Redo",
    "HTMLEditor_toolbar_button_RemoveAlignment_title": "Remove Alignment",
    "HTMLEditor_toolbar_button_RemoveLink_title": "Remove Link",
    "HTMLEditor_toolbar_button_RemoveStyles_title": "Remove styles",
    "HTMLEditor_toolbar_button_Rtl_title": "Right to left direction",
    "HTMLEditor_toolbar_button_FontSize_label": "Size",
    "HTMLEditor_toolbar_button_StrikeThrough_title": "Strike through",
    "HTMLEditor_toolbar_button_SubScript_title": "Sub script",
    "HTMLEditor_toolbar_button_SuperScript_title": "Super script",
    "HTMLEditor_toolbar_button_Underline_title": "Underline",
    "HTMLEditor_toolbar_button_Undo_title": "Undo",
    "HTMLEditor_toolbar_button_Use_verb": "Use {0}",
    "ListSearch_DefaultPrompt": "Type to search",
    "PasswordStrength_DefaultStrengthDescriptions": "NonExistent;Very Weak;Weak;Poor;Almost OK;Barely Acceptable;Average;Good;Strong;Excellent;Unbreakable!",
    "PasswordStrength_GetHelpRequirements": "Get help on password requirements",
    "PasswordStrength_InvalidStrengthDescriptions": "Invalid number of text strength descriptions specified",
    "PasswordStrength_InvalidStrengthDescriptionStyles": "Text Strength description style classes must match the number of text descriptions.",
    "PasswordStrength_InvalidWeightingRatios": "Strength Weighting ratios must have 4 elements",
    "PasswordStrength_RemainingCharacters": "{0} more characters",
    "PasswordStrength_RemainingLowerCase": "{0} more lower case characters",
    "PasswordStrength_RemainingMixedCase": "Mixed case characters",
    "PasswordStrength_RemainingNumbers": "{0} more numbers",
    "PasswordStrength_RemainingSymbols": "{0} symbol characters",
    "PasswordStrength_RemainingUpperCase": "{0} more upper case characters",
    "PasswordStrength_Satisfied": "Nothing more required",
    "PasswordStrength_StrengthPrompt": "Strength: ",
    "PopupControl_NoDefaultProperty": "No default property supported for control \"{0}\" of type \"{1}\"",
    "PopupExtender_NoParentElement": "Couldn\u0027t find parent element \"{0}\"",
    "Rating_CallbackError": "An unhandled exception has occurred:\\r\\n{0}",
    "ReorderList_DropWatcherBehavior_CallbackError": "Reorder failed, see details below.\\r\\n\\r\\n{0}",
    "ReorderList_DropWatcherBehavior_NoChild": "Could not find child of list with id \"{0}\"",
    "ResizableControlBehavior_CannotChangeProperty": "Changes to {0} not supported",
    "ResizableControlBehavior_InvalidHandler": "{0} handler not a function, function name, or function text",
    "RTE_BackgroundColor": "Background Color",
    "RTE_BarColor": "Bar Color",
    "RTE_Bold": "Bold",
    "RTE_Border": "Border",
    "RTE_BorderColor": "Border Color",
    "RTE_Cancel": "Cancel",
    "RTE_CellColor": "Cell Color",
    "RTE_CellPadding": "Cell Padding",
    "RTE_CellSpacing": "Cell Spacing",
    "RTE_ClearFormatting": "Clear Formatting",
    "RTE_Columns": "Columns",
    "RTE_Copy": "Copy",
    "RTE_Create": "Create",
    "RTE_Cut": "Cut",
    "RTE_Font": "Font",
    "RTE_FontColor": "Font Color",
    "RTE_Heading": "Heading",
    "RTE_Hyperlink": "Hyperlink",
    "RTE_Indent": "Indent",
    "RTE_InsertHorizontalRule": "Insert Horizontal Rule",
    "RTE_InsertImage": "Insert Image",
    "RTE_InsertTable": "Insert Table",
    "RTE_Inserttexthere": "Insert text here",
    "RTE_Italic": "Italic",
    "RTE_JustifyCenter": "Justify Center",
    "RTE_JustifyFull": "Justify Full",
    "RTE_JustifyLeft": "Justify Left",
    "RTE_JustifyRight": "Justify Right",
    "RTE_LabelColor": "Label Color",
    "RTE_Labels": "Labels",
    "RTE_Legend": "Legend",
    "RTE_Normal": "Normal",
    "RTE_OK": "OK",
    "RTE_OrderedList": "Ordered List",
    "RTE_Outdent": "Outdent",
    "RTE_Paragraph": "Paragraph",
    "RTE_Paste": "Paste",
    "RTE_PreviewHTML": "Preview HTML",
    "RTE_Redo": "Redo",
    "RTE_Rows": "Rows",
    "RTE_Size": "Size",
    "RTE_Underline": "Underline",
    "RTE_Undo": "Undo",
    "RTE_UnorderedList": "Unordered List",
    "RTE_Values": "Values",
    "RTE_ViewEditor": "View Editor",
    "RTE_ViewSource": "View Source",
    "RTE_ViewValues": "View Values",
    "Shared_BrowserSecurityPreventsPaste": "Your browser security settings don\u0027t permit the automatic execution of paste operations. Please use the keyboard shortcut Ctrl+V instead.",
    "Slider_NoSizeProvided": "Please set valid values for the height and width attributes in the slider\u0027s CSS classes",
    "Tabs_ActiveTabArgumentOutOfRange": "Argument is not a member of the tabs collection",
    "Tabs_OwnerExpected": "owner must be set before initialize",
    "Tabs_PropertySetAfterInitialization": "{0} cannot be changed after initialization",
    "Tabs_PropertySetBeforeInitialization": "{0} cannot be changed before initialization",
    "Tabs_UnknownTheme": "Theme {0} cannot be converted to a CSS class",
    "ValidatorCallout_DefaultErrorMessage": "This control is invalid",
    "MultiHandleSlider_CssHeightWidthRequired": "You must specify a CSS width and height for all handle styles as well as the rail.",
    "AsyncFileUpload_InternalErrorMessage": "The AsyncFileUpload control has encountered an error with the uploader in this page. Please refresh the page and try again.",
    "AsyncFileUpload_UnhandledException": "Unhandled Exception",
    "AsyncFileUpload_ConfirmToSeeErrorPage": "Do you want to see the response page?",
    "AsyncFileUpload_ServerResponseError": "Server Response Error",
    "AsyncFileUpload_UnknownServerError": "Unknown Server error",
    "AsyncFileUpload_UploadingProblem": "The requested file uploading problem.",
    "AjaxFileUpload_DropFiles": "Drop files here",
    "AjaxFileUpload_AllFilesUploaded": "All Files Uploaded.",
    "AjaxFileUpload_SelectFile": "Select File",
    "AjaxFileUpload_Remove": "Remove",
    "AjaxFileUpload_Upload": "Upload",
    "AjaxFileUpload_Cancel": "Cancel",
    "AjaxFileUpload_FileList": "List of Uploaded files:",
    "AjaxFileUpload_SelectFileToUpload": "Please select file(s) to upload.",
    "AjaxFileUpload_Pending": "pending",
    "AjaxFileUpload_FileInQueue": "{0} file(s) in queue.",
    "AjaxFileUpload_UploadingFileInQueue": "Uploading {0} of {1} file(s)",
    "AjaxFileUpload_UploadingHtml5File": "Uploading file: {0} of size {1} bytes.",
    "AjaxFileUpload_UploadingInputFile": "Uploading file: {0}.",
    "AjaxFileUpload_UploadError": "An Error occured during file upload.",
    "AjaxFileUpload_DefaultError": "File upload error.",
    "AjaxFileUpload_UploadedPercentage": "uploaded {0} %",
    "AjaxFileUpload_Uploading": "Uploading",
    "AjaxFileUpload_Uploaded": "Uploaded",
    "AjaxFileUpload_Cancelling": "Cancelling...",
    "AjaxFileUpload_CancellingUpload": "Cancelling upload...",
    "AjaxFileUpload_UploadCanceled": "File upload cancelled.",
    "AjaxFileUpload_Canceled": "cancelled",
    "AjaxFileUpload_error": "error",
    "AjaxFileUpload_MaxNumberOfFilesExceeded": "Maximum number of files exceeded",
    "AjaxFileUpload_WrongFileType": "Can\u0027t add file \u0027{0}\u0027 to upload list. File with type \u0027{1}\u0027 is not allowed",
    "AjaxFileUpload_TooLargeFile": "The \u0027{0}\u0027 file size exceeds the {1} Kbytes limit."
};

Type.registerNamespace('Sys.Extended.UI.Localization');

Sys.Extended.UI.Localization.SetLocale = function(locale) {
    var localeData = Sys.Extended.UI.Localization[locale];
    if(!localeData)
        return;

    for(var key in localeData) {
        if(localeData.hasOwnProperty(key))
            Sys.Extended.UI.Resources[key] = localeData[key];
    }
}
